<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>电影编辑页面</title>
    <link href="https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet"/>
</head>
<body>
<div class="container">
    <h1 class="text-center">电影编辑页面</h1>
    <p>姓名：姚鸿杰</p>
    <p>学号：1604220536</p>
    <form method="post" th:action="@{/movie/edit}">
        <div class="form-group">
            <label for="name">电影名称</label>
            <input type="text" class="form-control" name="name" th:value="${info.name}"/>

        </div>
        <div class="form-group">
            <label for="photo">电影封面</label>
            <input type="text" class="form-control" name="photo" th:value="${info.photo}"/>

        </div>
        <div class="form-group">
            <label for="createDate">发行日期</label>
            <input type="text" class="form-control" name="createDate" th:value="${info.createDate}"/>

        </div>


        <input type="hidden" name="id" th:value="${info.id}"/>
        <button type="submit" class="btn btn-primary">保存</button>
    </form>
</div>
</body>
</html>